<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>浮动场景1：图片与文字环绕</title>
		<style>
			img{
				/* 图片脱离文档流--文字包含在图片周边 */
				
				float: left;
				margin-right: 20px;
				margin-bottom: 20px;
			}
			p{
				/* 页面默认字体尺寸 */
				font-size: 16px;  
				line-height: 20px;
				word-spacing: 5px;
				
			}
		</style>
	</head>
	<body>
		<h1>浮动之图片文字环绕</h1>
		<img src="img/荷兰猪.png" alt="荷兰猪" width="100px" height="100px"/>
		<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. 
		Enim ipsa eaque, adipisci, optio similique deserunt, id 
		beatae quaerat quos voluptatibus atque voluptate veniam i
		ste quibusdam numquam corrupti. Adipisci, consect
		etur ratione?</p>
		
	</body>
</html>